<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>供需对接服务系统--首页列表</title>
    <!--公用样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/comment.css"/>
    <!--页面样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/style.css"/>
    <!--Layui-->
    <link rel="stylesheet" href="${re.contextPath}/plugin/layui/css/layui.css" media="all"/>
    <!--extended-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/extended.css"/>
    <!--公用样式JS-->
    <script type="text/javascript" src="${re.contextPath}/plugin/jquery/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="${re.contextPath}/plugin/common/js/comment.js"></script>
    <script type="text/javascript" src="${re.contextPath}/plugin/layui/layui.js" charset="utf-8"></script>
</head>
<style>
    .Right {
        width: 100%;
        overflow-y: scroll;
    }
</style>

<body>
<!--头部-->

<!--容器-->
<div class="container clearfix whitebg"  style="height: 1000px;">
    <!--右侧内容-->
    <div class="Right fr" >
        <div class="project whitebg">
            <div class="supply" ><font color="red"><input  type="hidden" id="message" value="${message}"><input  type="hidden" id="messtype" value="${messtype}"></font></div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${re.contextPath}/plugin/tools/tool.js"></script>
<script type="text/javascript" charset="utf-8" src="${re.contextPath}/plugin/common/js/tabs.js"></script>
<script type="text/javascript">
    $(function () {
        var layer;
        var form;
        var laydate;
        var  message=$("#message").val();
        var  messtype=$("#messtype").val();

        layui.use(['form', 'laydate', 'layer'], function () {
            layer = layui.layer;
            form = layui.form;
            laydate = layui.laydate;
            type="auto";
            if(messtype=="2"){
                layer.open({
                    type: 1
                    ,
                    offset: type, //
                    area: ['600px', '300px'],
                    id: 'layerDemo' + type //防止重复弹出
                    ,
                    content: '<div style="align-content: center;"><div style="margin-top: 10px;margin-left: 30px;margin-right: 30px;" class="b">'+message+'</div></div>'
                    ,
                    btn: '关闭全部'
                    ,
                    btnAlign: 'c' //按钮居中
                    ,
                    shade: 0 //不显示遮罩
                    ,
                    btn: ['去完善', '关闭'] //只是为了演示
                    ,
                    yes: function () {
                        localStorage.setItem("todoinfo","tt")
                        parent.window.open('/main');
                    }
                    ,
                    btn2: function () {
                        layer.closeAll();
                    }
                });
            }else{
                layer.open({
                    type: 1
                    ,
                    offset: type, //
                    area: ['600px', '300px'],
                    id: 'layerDemo' + type //防止重复弹出
                    ,
                    content: '<div style="align-content: center;"><div style="margin-top: 10px;margin-left: 30px;margin-right: 30px;" class="b">'+message+'</div></div>'
                    ,
                    btn: '关闭全部'
                    ,
                    btnAlign: 'c' //按钮居中
                    ,
                    shade: 0 //不显示遮罩
                    ,
                    btn: [ '关闭'] //只是为了演示
                    ,
                    yes: function () {
                        layer.closeAll();
                    }
                    ,
                    btn2: function () {
                        layer.closeAll();
                    }
                });

            }



        });



    });


</script>
</body>

</html>